<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title></title>
		<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
		<!-- 引用Vue -->
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
		<!-- 引入组件库 -->
		<script src="https://unpkg.com/element-ui/lib/index.js"></script>
		<script type="text/javascript" src="../js/axios.js"></script>
		<script type="text/javascript" src="../js/qs.js"></script>
		<script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script>
		<link href="../css/zcss/summernote.css" rel="stylesheet">
		<link href="../css/zcss/bootstrap-datepicker3.min.css" rel="stylesheet">
		<link href="../css/zcss/switchery.min.css" rel="stylesheet">
		<link href="../css/zcss/bootstrap-clockpicker.min.css" rel="stylesheet">
		<link href="../css/zcss/bootstrap-table.min.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/bootstrap.min.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/bootstrap-select.min.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/core.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/components.css" rel="stylesheet" type="text/css">
		<link href="http://cdn.xtcrm.com/cdn//v7/fm/ub/css/icons.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/pages.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/responsive.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/sweetalert.min.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/custombox.min.css" rel="stylesheet">
		<link href="../css/zcss/animate.min.css" rel="stylesheet" type="text/css">
		<link href="../css/zcss/css.css" rel="stylesheet" type="text/css">

		<body class="fixed-left">
			<!--页面开始 -->
			<div id="wrapper">

				<!-- 页面头部开始 -->

				<!-- 页面头部结束 -->

				<!-- ============================================================== -->
				<!-- 右侧主体内容开始-->
				<!-- ============================================================== -->
				<div class="content-page m-20">
					<div class="">
						<div class="container-fluid">
							<div class="card-box" style="width: 500px; margin: 0px auto;">
								<h4 class="text-center">
							<b>集客-采集信息</b>
						</h4>
								<div class="row m-t-20" style="line-height: 2;">
									<div class="col-xs-12">
										<div class="m-t-10  text-dark">
											数据所有人：
<c:choose>
<c:when test="${colle.use_name == null}">
公海客户
</c:when>
<c:otherwise>
${colle.use_name}
</c:otherwise>
</c:choose>
											<a class="m-l-10" href="#" onclick="openbasepop('共享', 'chpower_chmod', 'id=16&amp;mdb=74949f&amp;dtname=jk_collect', this);return false;">
												<i class="fa fa-share-alt m-r-5"></i> 共享
											</a>
											<a class="m-l-10" href="#" onclick="openbasepop('转移', 'chpower_chown', 'id=16&amp;mdb=74949f&amp;dtname=jk_collect', this);return false;">
												<i class="fa fa-random m-r-5"></i> 转移
											</a>

										</div>
									</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">分类：</div>
									<div class="col-xs-9">${colle.dic_name}</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">来源：</div>
									<div class="col-xs-9">${colle.col_from}</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">采集页：</div>
									<div class="col-xs-9">
										<span style="font-weight: normal; color: #9e9e9e">〖〗</span>
									</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">归属：</div>
									<div class="col-xs-9">${colle.dic_name }</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">提交内容:</div>
									<div class="col-xs-9">
										联系人:${colle.col_linkman }<br>电话: ${colle.col_phone}<br>${colle.col_content}
									</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">提交时间:</div>
									<div class="col-xs-9">
										<fmt:formatDate value="${colle.col_date}" pattern="yyyy-MM-dd" />
									</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">状态:</div>
									<div class="col-xs-9">${colle.dic_name}</div>
									<div class="clearfix"></div>
									<div class="col-xs-3 text-right">日志：</div>
									<div class="col-xs-9"></div>
								</div>

								<div id="idid" class="row m-t-15 text-center">
									<div class="col-xs-3"></div>
									<div class="col-xs-3">
										<a id="act0" class="btn btn-link"><img src="../images/getCustomer/jkimg2.png"><br>
											<el-button @click="centerDialogVisible1 = true" type="text">加为新客户</el-button>
											<el-dialog title="获客线索" :visible.sync="centerDialogVisible1" width="900px" center>
												<iframe src="/addCustomerByColle?id=${colle.col_id}&useIdColle=${colle.use_name} " width="100%" frameborder="0" onload="this.height=this.contentWindow.document.body.scrollHeight,this.width = 
												this.contentWindow.document.body.scrollWidth"></iframe></a>
									</div>
									<!--
									
									<div class="col-xs-3">
										<a id="act2" class="btn btn-link"><img src="../images/getCustomer/jkimg3.png"><br>
											<el-button @click="centerDialogVisible2 = true" type="text">加为待办</el-button>
											<el-dialog title="获客线索" :visible.sync="centerDialogVisible2" width="900px" center>
												<iframe src="" width="100%" frameborder="0" onload="this.height=this.contentWindow.document.body.scrollHeight,this.width = 
												this.contentWindow.document.body.scrollWidth"></iframe></a>
										</a>
									</div>
									<div class="col-xs-3">
										<a id="act1" class="btn btn-link"><img src="../images/getCustomer/jkimg1.png"><br>
											<el-button @click="centerDialogVisible3 = true" type="text">加为订单</el-button>
											<el-dialog title="获客线索" :visible.sync="centerDialogVisible3" width="900px" center>
												<iframe src="" width="100%" frameborder="0" onload="this.height=this.contentWindow.document.body.scrollHeight,this.width = 
												this.contentWindow.document.body.scrollWidth"></iframe></a>
										</a>
									</div>
									-->

									<div class="col-xs-3">
										<a id="act3" class="btn btn-link"><img src="../images/getCustomer/jkimg4.png"><br>
											<el-button @click="centerDialogVisible4 = true" type="text">设为无效</el-button>
											<el-dialog title="获客线索" :visible.sync="centerDialogVisible4" width="900px" center>
												<iframe src="" width="100%" frameborder="0" onload="this.height=this.contentWindow.document.body.scrollHeight,this.width = 
												this.contentWindow.document.body.scrollWidth"></iframe></a>
										</a>
									</div>
									<div class="col-xs-3"></div>
								</div>

								<script>
									var vm = new Vue({
										el: "#idid",
										data() {
											return {
												centerDialogVisible1: false,
												centerDialogVisible2: false,
												centerDialogVisible3: false,
												centerDialogVisible4: false
											};
										}
									});
								</script>

							</div>
						</div>

					</div>

				</div>

			</div>

		</body>

</html>